package Double;

import java.util.regex.Pattern;

public class patten {
    public static void main(String[] args) {
        String regLo = "(((?:[0-9]|[1-9][0-9]|1[0-7][0-9])\\.([0-9]{0,6}))|((?:180)\\.([0]{0,6}))|((?:[0-9]|[1-9][0-9]|1[0-7][0-9]))|(?:180))";
        Pattern NUMBER_PATTERN = Pattern.compile(regLo);
        boolean matches = NUMBER_PATTERN.matcher("179.11111111").matches();
        System.out.println(matches);
        System.out.println(0 % 100);
    }
}
